// import request from '@/utils/request'
import { fetch, fetchToken, fetchNoMsg, fetchForImg, fetchDownload} from '@/utils/fetch'
/* ============首页指标日报表============*/
export function targetList(data) {
  return fetchNoMsg({
    url: '/report/getDailyTargetReport',
    method: 'get',
    params: data
  })
}
/* ============首页总览日报表============*/
export function overviewList(data) {
  return fetchNoMsg({
    url: '/report/getDailyOverviewReport',
    method: 'get',
    params: data
  })
}
/* ============导出总览日报表============*/
/*export function allExport(data) {
  return fetchDownload({
    url: '/report/exportDailyOverviewReport',
    method: 'get',
    params: data
  })
}*/
export const allExport = '/amdms/api/report/exportDailyOverviewReport'
/* ============导出指标日报表============*/
/*export function targetExport(data) {
  return fetchDownload({
    url: '/report/exportDailyTargetReport',
    method: 'get',
    params: data
  })
}*/
export const targetExport = '/amdms/api/report/exportDailyTargetReport'